<div class="bigtitle"><?=lang('menu_yourprofile')?> &gt; <?=lang('label_update')?></div>
<table class='tblcontent' cellspacing='0' cellpadding='0' border='0'>
	<tr>
		<td>
			<?=form_open(site_url('yourprofile/saveprofile'),array('name'=>'frm'),array('hidden_status'=>''))?>	
			<table class='tblinputform' cellspacing='1' cellpadding='2' border='0' width='50%'>
				<tr>
					<th width='20%'><?=lang('yourprofile_username')?></th>
					<td width='80%'><?=$username?></td>
				</tr>				
				<tr>
					<th><?=lang('yourprofile_firstname')?></th>
					<td><input type='text' name='txt_firstname' style='width:300px;' maxlength='50' value="<?=htmlspecialchars($firstname)?>"/></td>
				</tr>
				<tr>
					<th><?=lang('yourprofile_lastname')?></th>
					<td><input type='text' name='txt_lastname' style='width:300px;' maxlength='50' value="<?=htmlspecialchars($lastname)?>"/></td>
				</tr>
				<tr>
					<th><?=lang('yourprofile_phone')?></th>
					<td><input type='text' name='txt_phone' style='width:300px;' maxlength='50' value='<?=$phone?>'/></td>
				</tr>
				<tr>
					<th><?=lang('yourprofile_email')?></th>
					<td><input type='text' name='txt_email' style='width:300px;' maxlength='100' value='<?=$email?>'/></td>
				</tr>				
			</table>
			<div class='ctrlbtn'>
				<input type='button' name='btn_save' value='<?=lang('label_save')?>' onclick='document.frm.submit()'/>	
				<input type='button' name='btn_cancel' value='<?=lang('label_cancel')?>' onclick='window.location="<?=site_url('yourprofile')?>";'/>
			</div>
			<?=form_close()?>				
		</td>
	</tr>
</table>